/****************************************************************************
**
****************************************************************************/

#include "baseUIData.h"

BaseUIData::BaseUIData()
{
}

BaseUIData::~BaseUIData()
{
}

QString BaseUIData::text_home(int gunno) const
{
    return text_home_.at(gunno);
}

void BaseUIData::set_text_home(int gunno, const QString& text)
{
    text_home_.replace(gunno, text);
}

QString BaseUIData::qrcode_home(int gunno) const
{
    return qrcode_home_.at(gunno);
}

void BaseUIData::set_qrcode_home(int gunno, const QString& qrcode)
{
    qrcode_home_.replace(gunno, qrcode);
}

QString BaseUIData::state_home(int gunno) const
{
    return state_home_.at(gunno);
}

void BaseUIData::set_state_home(int gunno, const QString& state)
{
    state_home_.replace(gunno, state);
}

quint8 BaseUIData::net_state() const
{
    return net_state_;
}

void BaseUIData::set_net_state(quint8 state)
{
    net_state_ = state;
}

QString BaseUIData::qrcode_card() const
{
    return qrcode_card_;
}

void BaseUIData::set_qrcode_card(const QString& QRCard)
{
    qrcode_card_ = QRCard;
}

QString BaseUIData::info_card() const
{
    return info_card_;
}

void BaseUIData::set_info_card(const QString& InfoCard)
{
    info_card_ = InfoCard;
}

QString BaseUIData::sn_card() const
{
    return sn_card_;
}

void BaseUIData::set_sn_card(const QString& sn_card)
{
    sn_card_ = sn_card;
}

QString BaseUIData::info_identify() const
{
    return info_identify_;
}

void BaseUIData::set_info_identify(const QString& InfoIdentify)
{
    info_identify_ = InfoIdentify;
}

QString BaseUIData::timeout_identify() const
{
    return timeout_identify_;
}

void BaseUIData::set_timeout_identify(const QString& TimeoutIdentify)
{
    timeout_identify_ = TimeoutIdentify;
}

QString BaseUIData::type_warning() const
{
    return type_fault_;
}

void BaseUIData::set_type_warning(const QString& TypeWarning)
{
    type_fault_ = TypeWarning;
}

QString BaseUIData::info_warning() const
{
    return info_fault_;
}

void BaseUIData::set_info_warning(const QString& InfoWarning)
{
    info_fault_ = InfoWarning;
}

QString BaseUIData::image_charging() const
{
    return image_charging_;
}

void BaseUIData::set_image_charging(const QString& ImageCharging)
{
    image_charging_ = ImageCharging;
}

QString BaseUIData::sn_charging() const
{
    return sn_charging_;
}

void BaseUIData::set_sn_charging(const QString& sn_charging)
{
    sn_charging_ = sn_charging;
}

quint32 BaseUIData::soc_charging() const
{
    return soc_charging_;
}

void BaseUIData::set_soc_charging(quint32 SocCharging)
{
    soc_charging_ = SocCharging;
}

quint32 BaseUIData::cur_charging() const
{
    return cur_charging_;
}

void BaseUIData::set_cur_charging(quint32 CurCharging)
{
    cur_charging_ = CurCharging;
}

quint32 BaseUIData::vol_charging() const
{
    return vol_charging_;
}

void BaseUIData::set_vol_charging(quint32 VolCharging)
{
    vol_charging_ = VolCharging;
}

quint32 BaseUIData::elect_charging() const
{
    return elect_charging_;
}

void BaseUIData::set_elect_charging(quint32 ElectCharging)
{
    elect_charging_ = ElectCharging;
}

quint32 BaseUIData::time_charging() const
{
    return charge_time_charging_;
}

void BaseUIData::set_time_charging(quint32 TimeCharging)
{
    charge_time_charging_ = TimeCharging;
}

quint32 BaseUIData::remin_time_charging() const
{
    return remin_time_charging_;
}

void BaseUIData::set_remin_time_charging(quint32 ReminTimeCharging)
{
    remin_time_charging_ = ReminTimeCharging;
}

qint32 BaseUIData::max_temp() const
{
    return max_temp_charging_;
}

void BaseUIData::set_max_temp(qint32 maxTemp)
{
    max_temp_charging_ = maxTemp;
}

quint32 BaseUIData::max_vol() const
{
    return max_vol_charging_;
}

void BaseUIData::set_max_vol(quint32 maxVol)
{
    max_vol_charging_ = maxVol;
}

quint32 BaseUIData::demand_cur() const
{
    return demand_cur_charging_;
}

void BaseUIData::set_demand_cur(quint32 demandCur)
{
    demand_cur_charging_ = demandCur;
}

quint32 BaseUIData::demand_vol() const
{
    return demand_vol_charging_;
}

void BaseUIData::set_demand_vol(quint32 demandVol)
{
    demand_vol_charging_ = demandVol;
}

QString BaseUIData::sn_chargend() const
{
    return sn_chargend_;
}

void BaseUIData::set_sn_chargend(const QString& sn_chargend)
{
    sn_chargend_ = sn_chargend;
}

quint32 BaseUIData::elect_chargend() const
{
    return elect_chargend_;
}

void BaseUIData::set_elect_chargend(quint32 ElectChargend)
{
    elect_chargend_ = ElectChargend;
}

quint32 BaseUIData::km_chargend() const
{
    return km_chargend_;
}

void BaseUIData::set_km_chargend(quint32 KwChargend)
{
    km_chargend_ = KwChargend;
}

quint32 BaseUIData::time_chargend() const
{
    return time_chargend_;
}

void BaseUIData::set_time_chargend(quint32 TimeChargend)
{
    time_chargend_ = TimeChargend;
}

quint32 BaseUIData::soc_chargend() const
{
    return soc_chargend_;
}

void BaseUIData::set_soc_chargend(quint32 SocChargend)
{
    soc_chargend_ = SocChargend;
}

QString BaseUIData::result_chargend() const
{
    return result_chargend_;
}

void BaseUIData::set_result_chargend(const QString& resultChargend)
{
    result_chargend_ = resultChargend;
}

double BaseUIData::update_progress() const
{
    return progress_update_;
}

void BaseUIData::set_update_progress(double updateProgress)
{
    progress_update_ = updateProgress;
}

QString BaseUIData::sys_config_info() const
{
    return sys_config_info_;
}

void BaseUIData::set_sys_config_info(const QString& sys_config_info)
{
    sys_config_info_ = sys_config_info;
}

quint8 BaseUIData::gun_main_positive_relay(int gunno) const
{
    return gun_main_positive_relay_.at(gunno);
}

void BaseUIData::set_gun_main_positive_relay(int gunno, quint8 data)
{
    gun_main_positive_relay_.replace(gunno, data);
}

quint8 BaseUIData::gun_main_negative_relay(int gunno) const
{
    return gun_main_negative_relay_.at(gunno);
}

void BaseUIData::set_gun_main_negative_relay(int gunno, quint8 data)
{
    gun_main_negative_relay_.replace(gunno, data);
}

quint8 BaseUIData::aps_positive_relay(int gunno) const
{
    return aps_positive_relay_.at(gunno);
}

void BaseUIData::set_aps_positive_relay(int gunno, quint8 data)
{
    aps_positive_relay_.replace(gunno, data);
}

quint8 BaseUIData::aps_negative_relay(int gunno) const
{
    return aps_positive_relay_.at(gunno);
}

void BaseUIData::set_aps_negative_relay(int gunno, quint8 data)
{
    aps_positive_relay_.replace(gunno, data);
}

quint8 BaseUIData::electronic_lock(int gunno) const
{
    return electronic_lock_.at(gunno);
}

void BaseUIData::set_electronic_lock(int gunno, quint8 data)
{
    electronic_lock_.replace(gunno, data);
}

quint8 BaseUIData::gun_head_temp_feedback(int gunno) const
{
    return gun_head_temp_feedback_.at(gunno);
}

void BaseUIData::set_gun_head_temp_feedback(int gunno, quint8 data)
{
    gun_head_temp_feedback_.replace(gunno, data);
}

quint8 BaseUIData::meter_feedback(int gunno) const
{
    return meter_feedback_.at(gunno);
}

void BaseUIData::set_meter_feedback(int gunno, quint8 data)
{
    meter_feedback_.replace(gunno, data);
}

quint8 BaseUIData::gun_can_feedback(int gunno) const
{
    return gun_can_feedback_.at(gunno);
}

void BaseUIData::set_gun_can_feedback(int gunno, quint8 data)
{
    gun_can_feedback_.replace(gunno, data);
}

quint8 BaseUIData::fan_feedback(int gunno) const
{
    return fan_feedback_.at(gunno);
}

void BaseUIData::set_fan_feedback(int gunno, quint8 data)
{
    fan_feedback_.replace(gunno, data);
}

quint8 BaseUIData::contactor_relay() const
{
    return contactor_relay_;
}

void BaseUIData::set_contactor_relay(quint8 contactor_relay)
{
    contactor_relay_ = contactor_relay;
}

quint8 BaseUIData::model_parallel_main_positive_relay() const
{
    return model_parallel_main_positive_relay_;
}

void BaseUIData::set_model_parallel_main_positive_relay(quint8 model_parallel_main_positive_relay)
{
    model_parallel_main_positive_relay_ = model_parallel_main_positive_relay;
}

quint8 BaseUIData::model_parallel_main_negative_relay() const
{
    return model_parallel_main_negative_relay_;
}

void BaseUIData::set_model_parallel_main_negative_relay(quint8 model_parallel_main_negative_relay)
{
    model_parallel_main_negative_relay_ = model_parallel_main_negative_relay;
}

quint8 BaseUIData::model_can_feedback() const
{
    return model_can_feedback_;
}

void BaseUIData::set_model_can_feedback(quint8 model_can_feedback)
{
    model_can_feedback_ = model_can_feedback;
}

quint8 BaseUIData::estop_feedback() const
{
    return estop_feedback_;
}

void BaseUIData::set_estop_feedback(quint8 estop_feedback)
{
    estop_feedback_ = estop_feedback;
}

quint8 BaseUIData::access_control_feedback() const
{
    return access_control_feedback_;
}

void BaseUIData::set_access_control_feedback(quint8 access_control_feedback)
{
    access_control_feedback_ = access_control_feedback;
}

quint8 BaseUIData::led_feedback() const
{
    return led_feedback_;
}

void BaseUIData::set_led_feedback(quint8 led_feedback)
{
    led_feedback_ = led_feedback;
}

quint8 BaseUIData::card_feedback() const
{
    return card_feedback_;
}

void BaseUIData::set_card_feedback(quint8 card_feedback)
{
    card_feedback_ = card_feedback;
}

QString BaseUIData::local_update_info() const
{
    return local_update_info_;
}

void BaseUIData::set_local_update_info(const QString& local_update_info)
{
    local_update_info_ = local_update_info;
}
